README for Replication Package

This replication package contains all data and code required to reproduce the analyses in:

The Cornered Mouse: Sanctioned Elites and Authoritarian Realignment in the Japanese Legislature, 1936-1942. 
Makoto Fukumoto
APSR (forthcoming)

How to Replicate
	1.	Unzip the entire folder into a single directory on your computer.
	2.	Open Fukumoto_APSR1.Rmd in RStudio.
	3.	Install the required R packages listed at the top of the script (e.g., here, tidyverse, fixest, etc.).
	4.	Knit the R Markdown file (Fukumoto_APSR1.Rmd)

All file paths are written using the here package and are relative to the project root. No changes to the working directory are required. 

R code:
	
Fukumoto_APSR1.Rmd	Main R code including most of the figures and tables generated. All the CSV files are uploaded. For directly, library(here) is used.

# The results were produced using fixest 0.12.x, in which singletons are retained in the estimation sample.
# To reproduce the results with fixest ≥ 0.13, I set fixef.rm = "infinite_coef" in all fixest models.
# This adjustment only affects the number of observations reported (222 dropped out of 4648 observations in the main specification) and does not change the estimated coefficients or standard errors.

Fukumoto_APSR1.html	Knitted R markdown


CSV files used for the main analysis

Legislator_main.csv		Main CSV file for legislators' biographic info; including a part of roll call in the main sessions.

Legislator_Main_Codebook.tab	Codebook for Legislator_main.csv


Hirota.tab		CSV for roll call under Hirota cabinet 1936 (relevant vote only)

Hirota_Codebook.csv	codebook for Hirota.tab

takao.tab		CSV file for Saito Takao expulsion motion roll call

Takao_Codebook.tab	Codebook for takao.tab
	
law38b.tab		CSV for roll call in 1938
	
law38b_Codebook.csv	codebook for law38b.tab
	
law73.tab		CSV for roll call in 73rd legislature

law73_codebook.csv	codebook for law73.tab

Stock3742.tab		CSV file for stock market performance

Stock3742_Codebook.tab	Codebook for Stock3742.tab
	

Supplementary Documentation- Secondary Codebook Notes.pdf	Variable documentation for the following secondary data

law75a.tab		CSV for roll call in 75th legislature (Legislation)
	
law75c.tab		CSV for legislative categorization

proposals76.tab		CSV for roll call in 76th legislature (Proposals)

Q76.tab			CSV for roll call in 76th legislature (Questions)

laws7779.tab		CSV for roll call in 77th to 79th legislature (Legislation)
	
laws7779b.tab		CSV for roll call in 77th to 79th legislature (Identical to law7779, variable names are transformed for network analysis)

biz3645.tab		CSV for summary statistics only (Business)

career3645.tab		CSV for summary statistics only (Career)
	
major3645.tab		CSV for summary statistics only (Background)
	
var3642.csv		CSV for summary statistics only (General biographic information)
	
par_district.csv	CSV for District level averages, complementing the map (geopackage file District_Map_Prewar.gpkg)


Geopackage files for the maps

District_Map_Prewar.gpkg	Geopackage file to show electoral district maps with district level averages
District_Map_Prewar.gpkg-shm	Auxiliary file to District_Map_Prewar.gpkg (1)	
District_Map_Prewar.gpkg-wal	Auxiliary file to District_Map_Prewar.gpkg (2)



Supplementary materials for documentation

Fukumoto_APSR2025_Data_Accessibility_Statement.pdf	Data availability statement that states the provenance and availability of the primary sources used for data coding

APSR_Resubmission_Final_Online_Appendix.pdf		Online Appendix


Notes
	•	No setwd() calls are used in the code.
	•	Filenames are case-sensitive; please do not rename files.
	•	The replication has been tested with R version 4.4.3

